package com.example.s07configuration;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties("student")
public class Student {
    String [] hobby1;
    List<String> hobby2;
    Map<String,Double> score;
    HashMap<String,Integer> aa;
//    @Autowired
//    Supplier supplier;
//    @Autowired
//    Supplier2 supplier2;


}
